<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>wangEditor 菜单配置</title>
<script>"undefined"==typeof CODE_LIVE&&(!function(e){var t={nonSecure:"49298",secure:"49307"},c={nonSecure:"http://",secure:"https://"},r={nonSecure:"127.0.0.1",secure:"gapdebug.local.genuitec.com"},n="https:"===window.location.protocol?"secure":"nonSecure";script=e.createElement("script"),script.type="text/javascript",script.async=!0,script.src=c[n]+r[n]+":"+t[n]+"/codelive-assets/bundle.js",e.getElementsByTagName("head")[0].appendChild(script)}(document),CODE_LIVE=!0);</script></head>
<body data-genuitec-lp-enabled="false" data-genuitec-file-id="wc2-40" data-genuitec-path="/graduation/src/main/webapp/WEB-INF/OAsystem/public/assets/wangEditor-3.1.1/example/demo/test-menus.html">
    <p data-genuitec-lp-enabled="false" data-genuitec-file-id="wc2-40" data-genuitec-path="/graduation/src/main/webapp/WEB-INF/OAsystem/public/assets/wangEditor-3.1.1/example/demo/test-menus.html">wangEditor 自定义菜单配置</p>
    <div id="div3">
        <p>欢迎使用 wangEditor 富文本编辑器</p>
    </div>

    <script type="text/javascript" src="/wangEditor.min.js"></script>
    <script type="text/javascript">
        var E = window.wangEditor
        var editor2 = new E('#div3')
        editor2.customConfig.menus = [
            'head',
            'bold',
            'italic',
            'underline'
        ]
        editor2.create()
    </script>
</body>
</html>